/**
 * Copyright (c) 2015-2030 by Beijing Yanlight Co., Ltd.
 * All rights reserved.
 */
package com.yanlight.app.response;

import java.util.ArrayList;
import java.util.List;

import com.yanlight.app.model.CompanySpec;
import com.yanlight.app.model.PayCodeSpec;

/**
 * 
 * @author haolw
 * @time 2017/08/18
 */
public class CompanyDetailResponse extends CompanySpec {
	private List<PayCodeSpec> paycodes;

	public List<PayCodeSpec> getPaycodes() {
		return paycodes;
	}

	public void setPaycodes(List<PayCodeSpec> paycodes) {
		this.paycodes = paycodes;
	}

	public void addPaycodeSpec(PayCodeSpec spec) {
		if (paycodes == null) {
			paycodes = new ArrayList<PayCodeSpec>(8);
		}
		paycodes.add(spec);
	}
}
